package test;

abstract class Controller {
	abstract public void dealWith(String name);

}

class ChatController extends Controller {
	@Override
	public void dealWith(String name) {

		System.out.println("");
	}
	}

	class LoginController extends Controller {

		@Override
		public void dealWith(String name) {

		}

	}
class RegistController extends Controller{

	@Override
	public void dealWith(String name) {
		
		
	}
	
}
class Method{
	public void qq(Controller con){
		con.dealWith();
	}
}
public class Test {
	Method m = new 
			m.
}
